#include "cpu/exec/template-start.h"

//0x0f 0x95
make_helper(setne_b) {
    int len =  1;
    //如果ZF标志位为0，那么将al寄存器的值设为1
    if(cpu.eflags.ZF == 0) {
        cpu.eax = 1;
    }
    //如果ZF标志位为1，那么将al寄存器的值设为0
    else if (cpu.eflags.ZF == 1) {
        cpu.eax = 0;
    }
    return len+1;
}
#include "cpu/exec/template-end.h"
